body,
html,
#app {
  line-height: 1.25;
  font-size: 14px;
  font-family:
    microsoft yahei,
    微软雅黑,
    PingFang SC,
    Helvetica Neue,
    Helvetica,
    arial,
    STHeiTi,
    sans-serif;
  //user-select: none;
  -webkit-tap-highlight-color: transparent;
  background: $theme-bg-color;
  color: $font-color-normal;
  min-width: 1200px;
  height: 100%;
}

* {
  box-sizing: border-box;
}

.required-star {
  &::before {
    color: var(--el-color-danger);
    content: '*';
    margin-right: 4px;
  }
}

.content-box-full {
  height: 100%;
  position: relative;
  padding: 10px;
}

.common-el-tree {
  width: 100%;
  max-height: 200px;
  overflow: auto;
}

.common-el-dialog {
  display: flex;
  flex-direction: column;
  max-height: 80vh;

  .el-dialog__body {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;

    &::-webkit-scrollbar {
      width: 6px;
    }

    &::-webkit-scrollbar-thumb {
      background-color: #c1c1c1;
      border-radius: 3px;
    }
  }
}

.form-item-popper {
  min-width: 300px !important;
}

.inline-select {
  width: var(--el-form-inline-content-width) !important;
}

.highlight-text {
  color: $theme-color;
  font-weight: bold;
}

//统一滚动条样式
.hx-scroll {
  &::-webkit-scrollbar-track-piece {
    background: #f0f3f8;
  }

  &::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }

  &::-webkit-scrollbar-thumb {
    background: $font-color-gray-5;
    border-radius: 10px;
    width: 6px;
    height: 6px;
  }
}

//:root:root {
//  --el-table-header-bg-color: #f3f7fc !important;
//}
